﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Utility;

namespace Model
{
	[Serializable]
	[PrimaryKey("Id")]
	[Table("Sys_DataSourceItem")]
	public class Sys_DataSourceItem : Utility.BaseData
	{
		public string Code { get; set; }
		public string SourceName { get; set; }
		public string Remark { get; set; }
		public int SourceId { get; set; }
		public int OrderNum { get; set; }
		public void Create(UserCache userInfo)
		{
			this.CreateUser = userInfo.UserId;
			this.CreateTime = DateTime.Now;
		}
		public void Modify(UserCache userInfo)
		{
			this.LastUpdateUser = userInfo.UserId;
			this.LastUpdateTime = DateTime.Now;
		}
	}


}
